<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
?>
<?php foreach($this->items as $i => $item): ?>
	<tr class="row<?php echo $i % 2; ?>">
		<td>
			<?php echo $i+1; ?>
		</td>
		<td>
			<?php echo JHtml::_('grid.id', $i, $item->id); ?>
		</td>
		<td>
			<a href="<?php echo JRoute::_('index.php?option=com_shop&view=employer&layout=edit&id='.$item->id); ?>"><?php echo $item->title; ?></a>
		</td>
         <td class="center">
        	<?php echo $item->started;?>
        </td>
        <td>
        	<?php echo $item->finished;?>
        </td>
       <td class="center">
					<?php echo JHtml::_('jgrid.published', $item->state, $i,'employers.'); ?>
		</td>
	</tr>
<?php endforeach; ?>